$(function() {
    countDown();
});

function countDown() {
    var count = 10;
    var theHandle = setInterval(function() {
        count--;
        $("#djs").text(count);
        if (count == 0) {
            clearInterval(theHandle);
        }
    }, 1000);
}
